<?php
define('SYS_RUNMODE', 1); // 0 = normal, 1 = debug
define('SYS_BASEURL', "http://www.picboard.org/");

define('SYS_BASEDIR', realpath( dirname(__FILE__) . "/../.." ) . "/" );
define('SYS_SYSDIR', realpath( dirname(__FILE__) . "/.." ) . "/" );
define('SYS_LANGDIR', realpath( dirname(__FILE__) . "/../languages") . "/" );
define('SYS_CLASSDIR', realpath( dirname(__FILE__) . "/../classes" ) . "/" );
define('SYS_LIBDIR', realpath( dirname(__FILE__) . "/../lib" ) . "/" );
define('SYS_TMPDIR', realpath( dirname(__FILE__) . "/../temp" ) . "/" );
define('SYS_IMGSTORE', realpath( dirname(__FILE__) . "/../../imageStore" ) . "/" );
define('SYS_CACHEDIR', realpath(dirname(__FILE__) . "/../../imageCache" ) . "/" );
define('SYS_CSSDIR', realpath( dirname(__FILE__) . "/../../css" ) . "/");

define('SYS_API_ALLOWED_EXTENSIONS', serialize( array("svcStraightStreet") ) );
define('SYS_API_DEFAULTEXTENSION', "svcStraightStreet");
define('SYS_API_MAXTIMEOUT', 10);

define('SYS_DB_DBNAME', 'peeb_picboard');
define('SYS_DB_USER', 'peeb_picboard');
define('SYS_DB_PASS', 'p1cb04rd');
define('SYS_DB_PREFIX', '');

define('SYS_PAGE_MAXITEMS', 5);

// Mail related constants
define('SYS_MAIL_FROM', 'picboard@picboard.org');
define('SYS_MAIL_ADMIN', 'admin@picboard.org');
?>